<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>login</title>
    </head>
    <body>
        <h3>用户登录</h3>
        <div style="margin: 15% 40%;">
            <form action="" method="post">
                {% csrf_token %}
                <!--    <p>用户名： <input type="text" name="username"></p>
    <p>密码： <input type="password" name="pwd"></p> -->
                <p>
                    <label for="id_username">用户名：</label>
                    <input type="text" id="id_username" name="username" placeholder="用户名" autofocus required />
                </p>
                <p>
                    <label for="id_password">密码：</label>
                    <input type="password" id="id_password" placeholder="密码" name="password" required>
                </p>
                <input type="submit">
        </div>
        </form>
    </body>
</html>
